<?php
namespace BigVideo\Other\COR\Handler;

abstract class PriceHandler
{
    /**
     * @var PriceHandler
     */
    protected $successor;

    /**
     * @param mixed $successor
     */
    public function setSuccessor(PriceHandler $successor)
    {
        $this->successor = $successor;
    }

    abstract public function processDiscount($discount);
}